#include <iostream>
#include <vector>
#include <string>

using namespace std;

string addStrings(string num1, string num2) {
    int carry = 0, len = max(num1.size(), num2.size()); string ret;
    for(int i = 0; i < len; i++){
        char at = (int(num1.size())-i > 0 ? num1[num1.size()-1-i] : '0'), bt = (int(num2.size())-i > 0 ? num2[num2.size()-1-i] : '0'),
             t = at + bt - '0' + carry;
        if(t > '9'){
            ret.insert(ret.begin(), t-10);
            carry = 1;
        }else{
            ret.insert(ret.begin(), t);
            carry = 0;
        }
    }
    return carry == 1 ? "1" + ret : ret;
}

int main(){
    string num1 = "11", num2 = "123";
    return 0;
}
